cmake_minimum_required(VERSION 3.13)
project(010.algorithm)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x")

# 引入子目录
ADD_SUBDIRECTORY(00-Cpp-Test)
ADD_SUBDIRECTORY(01-Selection-Sort)
ADD_SUBDIRECTORY(02-Selection-Sort-Using-Template)
ADD_SUBDIRECTORY(05-Insert-Sort-Using-Template)
ADD_SUBDIRECTORY(06-Bubble-Sort-Using-Template)
ADD_SUBDIRECTORY(07-Shell-Sort-Using-Template)
ADD_SUBDIRECTORY(08-Merge-Sort-Using-Template)
ADD_SUBDIRECTORY(09-Quick-Sort-Using-Template)
ADD_SUBDIRECTORY(10-Heap-Sort)
ADD_SUBDIRECTORY(11-Index-Heap-Sort)
ADD_SUBDIRECTORY(12-No-cmp-Sort)
ADD_SUBDIRECTORY(13-BST-Search)
ADD_SUBDIRECTORY(14-ST-Search)
ADD_SUBDIRECTORY(15-RedBlackTree-Search)
ADD_SUBDIRECTORY(16-Other-BST-Search)
ADD_SUBDIRECTORY(17-hash-table-Search)
ADD_SUBDIRECTORY(18-union-find)
ADD_SUBDIRECTORY(19-graph)
ADD_SUBDIRECTORY(20-diGraph)
